<div>
    <% form_for :fragment, @fragment do |f| %>
        <h4>片段内容</h4>
        <%= error_messages_for :fragment -%>
        <%= f.text_area :content, :cols=>70, :rows=>10 -%>
        </br>
        <%= submit_tag "提交" -%>
    <% end %>
</div>